import java.util.Scanner;

public class stringBuild {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个字符串");
        String S  = sc.next();
        String s = new StringBuilder().append(S).reverse().toString();
         if(s.equals(S)){
             System.out.println("是对称字符串");
         }else {
             System.out.println("不是对称字符串");
         }

    }
}
